<!-- 编辑用户 -->

 <form method="post">

<div><label>用户名</label><input type="text" name="username" value="{$row.username}" class="easyui-textbox"/></div>
<div><label>邮箱</label><input type="text" name="email" value="{$row.email}" class="easyui-textbox"/></div>
<div><label>状态</label><input type="text" name="status" value="{$row.status}" class="easyui-textbox"/></div>
<div>
<label>角色</label>
<select class="easyui-combobox" name="gid" style="width:200px;"data-options="editable:false,">  
   <foreach name="rows" item='v'>
   		<eq name="key" value="$row.gid">
   			<option value="{$key}" selected="selected">{$v}</option>
   		<else />
   			<option value="{$key}">{$v}</option>
   		
   		</eq>
   </foreach> 
</select> 
</div> 
<p style="color:red;">{$errstr}</p>
<input type="submit" value="提交" class="easyui-linkbutton" data-options="width:'70'"/>
</form>

